package com.cskaoyan.bean.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class DataBean {
    private AdminInfoBean adminInfo;
    //private GoodsInfoBean goodsInfo;
    private  UserInfoBean userInfo;
    private String token;

    @NoArgsConstructor
    @Data
    public static class AdminInfoBean {
        private String nickName;
        private String avatar;
    }

    @NoArgsConstructor
    @Data
    public static class UserInfoBean {
        private String nickName;
        private String avatar;
    }

    //操作失误
//    @Data
//    public static class GoodsInfoBean {
//        /**
//         * auther: yangwenjian
//         * roles : ["超级管理员"]
//         * name : admin123
//         * perms : ["*"]
//         * avatar : http://182.92.235.201:8083/wx/storage/fetch/6xfilqf2bir1ja07bpv9.gif
//         */
//
//        private String name;
//        private String avatar;
//        private List<String> roles;
//        private List<String> perms;
//
//    }
}
